package org.example.api;

import org.example.Result;
import org.example.clue.entity.Clue;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class ClueServiceApiFallback implements ClueServiceApi {
    @Override
    public Result<List<Clue>> getAll() {
        return Result.error("服务不可用(熔断保护)");
    }

}